package com.gidgabs.modules.api.service.impl;

import com.gidgabs.modules.api.service.TbUserJournalCommentLikeService;
import com.gidgabs.modules.dao.TbUserJournalCommentLikeDao;
import com.gidgabs.modules.entity.TbUserJournalCommentLikeEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UserJournalCommentLikeServiceImpl implements TbUserJournalCommentLikeService {
	@Autowired
	private TbUserJournalCommentLikeDao userJournalCommentLikeDao;
	
	@Override
	public TbUserJournalCommentLikeEntity queryObject(Integer id){
		return userJournalCommentLikeDao.queryObject(id);
	}
	
	@Override
	public List<TbUserJournalCommentLikeEntity> queryList(Map<String, Object> map){
		return userJournalCommentLikeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userJournalCommentLikeDao.queryTotal(map);
	}
	
	@Override
	public void save(TbUserJournalCommentLikeEntity userJournalCommentLike){
		userJournalCommentLikeDao.save(userJournalCommentLike);
	}
	
	@Override
	public void update(TbUserJournalCommentLikeEntity userJournalCommentLike){
		userJournalCommentLikeDao.update(userJournalCommentLike);
	}
	
	@Override
	public void delete(Integer id){
		userJournalCommentLikeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		userJournalCommentLikeDao.deleteBatch(ids);
	}
	
}
